package com.company.entity;

/**
 * News entity. @author MyEclipse Persistence Tools
 */

public class News implements java.io.Serializable {

	// Fields

	private Integer id;
	private String title;
	private String year;
	private String md;
	private String laiyuan;
	private String content;
	private String images;

	// Constructors

	/** default constructor */
	public News() {
	}

	/** full constructor */
	public News(String title, String year, String md, String laiyuan,
			String content, String images) {
		this.title = title;
		this.year = year;
		this.md = md;
		this.laiyuan = laiyuan;
		this.content = content;
		this.images = images;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getYear() {
		return this.year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getMd() {
		return this.md;
	}

	public void setMd(String md) {
		this.md = md;
	}

	public String getLaiyuan() {
		return this.laiyuan;
	}

	public void setLaiyuan(String laiyuan) {
		this.laiyuan = laiyuan;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getImages() {
		return this.images;
	}

	public void setImages(String images) {
		this.images = images;
	}

}